package com.example.mybatis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * <p>
 *     默认数据源是:
 *     {@link com.zaxxer.hikari.HikariDataSource}
 * </p>
 * <p>
 *     {@link org.mybatis.spring.SqlSessionTemplate}
 *     {@link org.apache.ibatis.cache.Cache}
 *     {@link org.apache.ibatis.scripting.xmltags.XMLScriptBuilder}
 *      {@link org.mybatis.spring.mapper.MapperScannerConfigurer}
 *      {@link java.sql.Connection}
 * </p>
 * <p>
 *     启动类上并没有扫描mybatis的任何装置，mybatis是如何生效的？
 *     应该是通过AutoConfiguration技术
 *     {@link org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration}
 * </p>
 */
@SpringBootApplication
public class MybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(MybatisApplication.class, args);
    }

}
